#include <iostream>
using namespace std;
int main()
{
	freopen("arena.in","r",stdin);
	freopen("arena.out","w",stdout);
	int t;cin>>t;
	while(t--)cout<<1<<endl;
}
//sto syfq syfq syfq orzzzzz give me the time wasted by t2 back plzzzzzzz
